package com.platform.module.common.base;

public enum CodeEnum {
    SUCCESS("0", "succeeded"),
    FAILED("1", "failed"),
    系统繁忙("9999", "System error"),
    未登录("3000", "No Authorization"),
    请求头错误("3001", "Error Header"),
    密码错误("3002", "Wrong password"),
    密码达到最大错误次数("3003", "You've reached the maximum number of incorrect password attempts."),
    余额不足("5002", "You're out of funds, please add more money."),
    参数缺失("1010", "Missing parameter"),
    参数值错误("1011", "Incorrect parameter value"),
    访问频繁("21100", "You're hitting us up too fast!"),
    配置错误("1013", "Config error!"),
    手机号格式错误("1511", "Phone number format error"),
    短信验证码不可为空("1512", "OTP cannot be empty"),
    密码不可为空("1513", "Password cannot be empty"),
    密码格式错误("1514", "Password must be 6-20 alphanumeric"),
    手机号不可为空("1515", "The phone number can not be empty"),
    用户名不可为空("1516", "Username cannot be empty"),
    硬件设备号达到最大注册数("1517", "Registration is restricted!"),
    IMEI达到最大注册数("1556", "Registration is restricted!"),
    手机号黑名单("1551", "Registration is restricted!"),
    IP黑名单("1552", "Registration is restricted!"),
    IMEI黑名单("1553", "Registration is restricted!"),
    设备指纹黑名单("1554", "Registration is restricted!"),
    AFID黑名单("1555", "Registration is restricted!"),
    IP达到最大注册数("1518", "IP is restricted"),
    Facebook快登失败("1519", "Facebook quick login failed"),
    已绑手机号("1520", "You have bound your mobile phone number"),
    手机号已绑定在其他账号("1521", "This phone number has been used for another account"),
    绑定手机号失败("1522", "Bind mobile fail"),
    账户已冻结("1523", "Violation of rules, account banned, contact us if any questions!"),
    用户已存在请登录("1524", "This account already exists, please Login"),
    账户已注销("1551", "The account has been cancelled, contact us if any questions!"),
    手机号已存在不允许绑定("1557", "phone number has been bound, change phone number."),
    手机号不存在不允许切换("1558", "phone number has no account ,switch failed."),
    谷歌账号已存在不允许绑定("1559", "google account has been bound, change google account."),
    谷歌账号不存在不允许切换("1560", "google account has no account ,switch failed."),
    图形验证码错误("1525", "Incorrect captcha code."),
    手机号解密失败("1526", "Failed to decrypt the phone number."),
    短信验证码解密失败("1527", "Failed to decrypt the SMS verification code."),
    密码解密失败("1528", "Failed to decrypt the password."),
    PAN卡卡号解密失败("1529", "Invalid PAN bank card number."),
    银行卡卡号解密失败("1530", "Invalid bank card number."),
    银行卡卡号有空格("1531", "The bank card number has spaces, which is incorrect."),
    银行卡卡号错误("1532", "Incorrect bank card number."),
    真实姓名错误("1533", "Incorrect real name."),
    账号不存在("1534", "User ID does not exist"),
    昵称不允许为空("1535", "Nickname cannot be empty"),
    邮箱格式错误("1536", "Invalid email format."),
    昵称长度受限("1537", "Nickname is too long"),
    密码修改失败("1538", "Password reset failed"),
    注册参数校验失败("1539", "Registration parameter failed"),
    短信验证码错误或已失效("1540", "OTP is wrong or invalid"),
    短信验证码重试达到上限("1541", "OTP sent has reached the limit"),
    图形验证码重试达到上限("1542", "Captcha has reached the limit"),
    请勿频繁获取短信验证码("1543", "Do not get OTP frequently"),
    请勿频繁获取图形验证码("1544", "Do not get captcha frequently"),
    你的金币充足("1545", "You have enough gold coins"),
    上传用户头像文件为空("1546", "Profile picture uploaded is empty"),
    一个月内修改头像次数已达上限("1547", "Times to modify avatar has been used out for this month"),
    一个月内修改昵称次数已达上限("1548", "Times to modify nickname has been used out for this month"),
    图片大小超过1M("1549", "Size of picture can't exceed 1M"),
    Google快登失败("1550", "Google quick login failed"),
    UID不允许为空("1", "UID cannot be empty"),
    手机号不允许为空("1", "Phone Number cannot be empty"),
    投注金额错误("2010", "Betting amount error"),
    无此期次或期次不在销售期内("2011", "Issue number doesn't exist or it is not on sale"),
    投注超出所购金额上限("2012", "Betting amount has reached upper limit"),
    今天创建充值订单已达上限("2025", "Daily unsuccessful deposit order reached limit"),
    今天创建充值频繁休息一下("2026", "Deposit too often, take rest"),
    银行卡已被其他账户绑定("2511", "The card number has been used in other accounts"),
    PAN卡已被其他账户绑定("2512", "The PAN card number has been used in other accounts"),
    银行卡已审核不允许修改("2513", "Your bank card information has been verified and cannot be modified"),
    充值金额为空("2514", "Recharge amount is empty"),
    提现金额为空("2515", "Withdrawal amount is empty"),
    今日提现次数已达上限("2516", "Withdrawal Reached Daily Limit"),
    暂停提现请联系客服("2517", "Withdrawal paused, please contact customer service"),
    充值金额最大("2518", "Maximum recharge %s"),
    充值金额最小("2519", "Minimum recharge %s"),
    提现金额最大("2520", "Maximum recharge %s"),
    提现金额最小("2521", "Minimum recharge %s"),
    银行卡审核未通过或未提交审核("2522", "Bank card review failed or not submitted for review"),
    IFSC错误("2523", "IFSC error"),
    Email使用达到上限("2524", "Email is taken, please change"),
    PAN卡已审核不允许修改("2525", "Your pan card information has been verified and cannot be modified"),
    PAN卡信息请录入("2526", "Please finish KYC verification first"),
    PAN卡信息审核中("2527", "Your KYC information has submitted successfully. It will take 1-3 working days to complete the review. Please wait patiently"),
    充值达到限制("2528", "Recharge had reached its limit"),
    提现达到限制("2529", "Withdrawal had reached its limit"),
    CPF错误("2530", "CPF is wrong"),
    PIX类型错误("3031", "pixType is wrong"),
    PIX已被其他账户绑定("3032", "The PIX has been used in other accounts"),
    PIX已审核不允许修改("3033", "Your PIX information has been verified and cannot be modified"),
    PIX审核未通过或未提交审核("3034", "PIX review failed or not submitted for review"),
    日常任务未完成("3011", "Daily task not completed"),
    日常任务不存在("3012", "Daily task does not exist"),
    签到记录未初始化("3013", "Sign-in record not initialized"),
    未充值不允许签到("3017", "Please complete a recharge to join the event!"),
    未充值不允许提现("3018", "Activate cash withdrawal after recharge"),
    活动不存在("3014", "Activity does not exist"),
    VIP未达到最高等级("3015", "The maximum number of times to receive the current VIP level has been reached, please recharge to upgrade your VIP level!"),
    VIP达到最高等级("3016", "You've got all the VIP sign-in bonuses, go play and earn more VIPCash Back bonuses!"),
    VIP每日提现限制("3019", "VIP%s daily maximum withdrawal amount %s, please upgrade VIP level or apply tomorrow."),
    VIP总提现限制("3020", "VIP%s total withdrawal amount %s, please apply after upgrading VIP level."),
    图片或视频超过15M("3500", "Can upload less than 15M material"),
    获取游戏链接失败("4001", ""),

    充值金额参数错误("500001", "Recharge amount error"),
    充值类型错误("500002", "Recharge type error"),

    未实名认证("400002", "Please enter your full name first."),
    查询时间范围错误("400003", "Incorrect time range"),
    查询时间范围不能超过7天("400004", "Time range cannot exceed 7 days"),
    银行卡绑定数量超过限制("400005", "You have already linked more than %s bank cards."),
    提现下注金额不足("400006", "The bet amount needs  %s."),

    禁用区("500001", "The current region is not supported!"),


    任务未完成("420001", "Mission not completed"),
    任务奖金已经领取("420002", "Mission bonus has been received"),

    兑换码错误("5001", "Redemption code error"),
    兑换码已使用("5002", "Redemption code has been used"),
    兑换码已领取完("5003", "Redemption code has been used up"),
    兑换码已过期("5004", "Redemption code has expired"),
    兑换码兑换太过频繁("5005", "Redemption code exchange too frequently"),
    兑换码生成失败("5006", "Redemption code generation failed"),
    兑换码已存在("5007", "Redemption code already exists"),
    兑换码所需VIP等级不足("5008", "The VIP level needs %s"),
    兑换码所需充值金额不足("5009", "%s"),
    兑换码所需打码量不足("5010", "%s"),
    兑换码兑换失败("5011", "Redemption code exchange fail"),
    兑换码未开始("5012", "Redemption code has not started"),
    活动开始时间不能大于活动结束时间("5013", "start time cannot be greater than end time"),

    全名不允许为空("1535", "fullname cannot be empty"),

    设备已有账号注册请登录("1552", "Your device has an account registered. Please log in using the existing account."),
    ;

    private String code;
    private String msg;

    CodeEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return this.code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return this.msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
